import torch.nn as nn
from torch import float64

class MyNet(nn.Module):
    def __init__(self):
        super(MyNet, self).__init__()
        self.layer = nn.Sequential(
            nn.Linear(1, 10), nn.ReLU(),
            nn.Linear(10, 50), nn.ReLU(),
            nn.Linear(50, 100), nn.ReLU(),
            nn.Linear(100, 50), nn.ReLU(),
            nn.Linear(50, 10), nn.ReLU(),
            nn.Linear(10, 1),
        )
        self.double()
    def forward(self, x):
        x = self.layer(x)
        return x